package com.bolehui.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bolehui.domain.po.SysDictData;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysDictDataMapper extends BaseMapper<SysDictData> {

    /**
     * 根据父id查询下级数据
     * @param parentId
     * @return
     */
    List<SysDictData> getDictDataById(String parentId);

    SysDictData selectById(Long label);
}
